﻿using Freshbooks.XmlSerializers;

namespace Freshbooks.Model
{
    [FreshbooksSerialization(Name = "item")]
    public class Item
    {
        [FreshbooksSerialization(Name = "item_id")]
        public int ItemId { get; set; }

        [FreshbooksSerialization(Name = "name")]
        public string Name { get; set; }

        [FreshbooksSerialization(Name = "description")]
        public string Description { get; set; }

        [FreshbooksSerialization(Name = "unit_cost")]
        public float UnitCost { get; set; }

        [FreshbooksSerialization(Name = "quantity")]
        public float Quantity { get; set; }

        [FreshbooksSerialization(Name = "folder")]
        public string Folder { get; set; }

        [FreshbooksSerialization(Name = "inventory")]
        public string Inventory { get; set; }
    }
}
